<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<jsp:directive.page import="com.toncen.samepms.system.dao.ConfigurationDao"/>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%
ConfigurationDao configurationDao=new ConfigurationDao();
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
	<%@include file="/share/header.jsp"%>
	<%if("1".equalsIgnoreCase(configurationDao.getValueByName("enable_portal"))){%>
	<title><%=configurationDao.getValueByName("portal_title")%></title>	
    <META HTTP-EQUIV="Refresh" CONTENT="0;URL=<s:url action="index" namespace="/portal" />">
    <%}else{%>
	<title><%=configurationDao.getValueByName("system_title")%>-<%=configurationDao.getValueByName("version")%></title>    
    <META HTTP-EQUIV="Refresh" CONTENT="0;URL=<s:url action="index" namespace="/main" />">    
    <%} %>
</head>
<body>
	<p>加载中...</p>
</body>
</html>
